22.02.09 - Matrices
Numeric Vector Matrices Matrix Operations: Sum and Product Determinant of a Matrix
Numeric Vector
Numeric Vector
- Let and
- Indicated with , set of ordered n-tuples of real numbers
- Generic element a = () is named numeric vector or simply vector of order n
Sum of Vectors
- Sum of vectors:
- Can also do the same for
Scalars
Numeric value is a scalar The product of a vector by a scalar is the vector Very similar to
Scalar Product
Generated by the sum of the products of each pair of corresponding components Example:
Properties
- Symmetry:
- Associativity:
- Distributivity:
Matrices
Matrix
2 natural numbers > 0. A matrix () is a generic table of the kind
where each matrix element
- m=rows, n=columns
- n order square matrix -
- rectangular -
Matrix Transpose
- Transpose matrix is whose elements are the same of A but
- Change index of row with index of columns (rotate it)
Symmetry
- Only on square matrix
- When
Diagonal and Trace
- Diagonal of a matrix is the ordered n-tuple that displays the same index twice. From 1 to
- Trace is the sum of the diagonal elements tr()
Null Matrices
- Is said null if all elements are zeros
Identity Matrices
- Square matrix whose diagonal elements are all ones while all the other extra-diagonal elements are zero
Matrix Operations: Sum and Product
Matrix Sum
Both matrices must be the same size! Can be subtracted from one another
Properties of the matrix sum
- commutativity:
- associativity:
- neutral element:
- opposite element:
Product of a scalar and a matrix
Matrix defined as: Similar to by the scalar
Properties of multiplying by a scalar
- associativity: and :
Matrix product
Product of matrices and is a matrix
- Just the scalar product of row vectors of with column vectors of
- Number of columns in the first matrix must be the same as the number of rows in the second
- left distributivity:
- right distributivity:
- associativity:
- transpose of the product:
- neutral element:
- absorbing element:
Commutable - , one with respect to the other Every matrix is commutable with (and the result is always ) and with (and the result is always )
Determinant of a Matrix
(takes decades to understand)
- Most important concepts of maths
- Permutation: Different ways of grouping items, can be checked with factorials
- Fundamental Permutation - Reference a sequence
- Inversion - Every time two objects in a permutation follow each other in a reverse order with respect to the fundamental
- Even class permutation - Permutation undergone to an even number of inversions
- Also have Odd class permutation
Associated Product
Never in the same column/row. Product of this is referred to as associated product and is indicated with the symbol (c). Wont be the same number either. Order the factors according to the row index:
Coefficient of nk
Consider 1-2-...-n as fundamental permutation, the scalar nk is defined as:
Determinant of a Matrix
indicated as det is the function det: defined as the sum of n! associated products: Do it as left to right diagonal +, then right to left diagonal as -
Linear Dependence/Independence
Linear Combination
If row can be represented by other rows with weighted sum by means of the same scalars
Linear dependence
If null vector can be expressed as the linear combination of the rows ( columns) by means of nun-null scalars Rows are linearly dependent if
such that
Linear Independence
If only way to express a row of all zeros as the linear combination of the m rows(n columns) is by means of null scalars
Fundamental property of Linear Dependence
r rows are linearly dependent if and only if at least one row can be expressed as the linear combination of the others